package com.hangwei.aicabinet.util;

/**
 * author: 张龙臣
 * date: 2018-09-07.
 */

public class SPKey {
    public static final String Available_Path = "Available_Path";

    public static final String Receive = "Receive_Msg";
    public static final String CABINET_ID = "cabinetId";

    //操作码
    public static final String Opcode = "Opcode";
    public static final String STATUS = "STATUS";

    //判断是否有收到返回指令
    public static final String hasOpenReceive = "hasOpenReceive";
    public static final String hasCloseReceive = "hasCloseReceive";
    public static final String getLockStatusReceive = "getLockStatusReceive";
    public static final String OPENED_DOOR = "OPENED_DOOR";
    public static final String OPENED_DOOR_SPACE_NUM = "OPENED_DOOR_SPACE_NUM";
    public static final java.lang.String CABINET_TYPE = "CABINET_TYPE";
    public static final java.lang.String CABINET_NUM = "CABINET_NUM";


    //账户相关数据
    public static final class Account {
        //登陆第二步获取token
        public static final String TOKEN = "token";

        //登陆第一步获取
        public static final String ACCOUNT = "account";
        public static final String APP_ID = "appId";
        public static final String APP_SECRET = "appSecret";
        public static final String USER_ID = "UserId";

        //首页获取
        public static final String AIRPORT_ID = "airportid";
        public static final String AIRPORT_NAME = "airportname";
        public static final String CUSTOMER_ID = "customerid";
        public static final String PERSON_ID = "personId";
        public static final String ROLE_NAME = "roleName";
        public static final String USER_NAME = "username";
        //        public static final String USER_ID = "userId";
        public static final String UNIT_ID = "unitid";
        public static final String PASSWORD = "pwd";
    }

    public static final class Admin {
        public static final String OPEN_DOOR = "opened_door";
    }
}
